<!-- $Id: listTemplate.html 32 2011-02-16 12:54:33Z nicholasinlove1986@gmail.com $ -->
<include file="Public:pageheader"/>
<div class="list-div">
  <table width="100%" cellpadding="3" cellspacing="1">
  <tr><th>当前模板</th></tr>
  <tr><td>
    <table cellpadding="3" cellspacing="5">
      <tr>
        <td width="320" align="center"><img id="screenshot" src="../.{$curr_template.screenshot}" width="300px" height="225px"/></td>
        <td><strong><span id="templateName"><a href="{$curr_template.author_uri}" target="_blank">{$curr_template.name}</a></span></strong> v<span id="templateVersion">{$curr_template.version}</span><br />
          <span id="templateAuthor">作者: <a href="{$curr_template.author_uri}" target="_blank">{$curr_template.author}</a></span><br />
          <span id="templateDesc">其他: {$curr_template.desc}</span><br />
          <span id="templateDir">该主题的所有文件存放在: <code style="background:#DDEEF2;">{$curr_template.templatedir}</code></span><br />
		  <span id="templateTag">标签: {$curr_template.tag}</span><br />
		  <div style="padding-top:5px;"><input class="button" onclick="backupTemplate('{$curr_template.code}')" value="备份当前模板" type="button" id="backup" /></div>
        </td></tr>
    </table>
  </td></tr>
  <tr><th>可用模板</th></tr>
  <tr><td>
  <volist name="available_templates_list" id="vo">
  <div style="display:-moz-inline-stack;display:inline-block;vertical-align:top;zoom:1;*display:inline;">
    <table style="width: 220px;">
      <tr>
        <td><strong><a href="{$vo.uri}" target="_blank">{$vo.name}</a></strong></td>
      </tr>
      <tr>
        <td><present name="vo.screenshot"><img src="../.{$vo.screenshot}" border="0" style="cursor:pointer; float:left; margin:0 2px;display:block;" id="{$vo.code}" onclick="javascript:setupTemplate('{$vo.code}')" width="200px" height="150px"/></present></td>
      </tr>
      <tr>
        <td valign="top">{$vo.desc}</td>
      </tr>
    </table>
    </div>
  </volist>
  </td></tr>
  </table>
</div>
<include file="Public:pagefooter"/> 